//
//  XQViewController.h
//  7.14详情
//
//  Created by lovena on 15/7/15.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XQHeaderView.h"
#import "AddToBuyView.h"
#import "ShopModel.h"
@interface XQViewController : UIViewController<HeaderViewDelegate,UITableViewDataSource,UITableViewDelegate,AddToBuyViewDelegate>
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UIButton *buyBtn;//购买按钮
@property (weak, nonatomic) IBOutlet UIButton *addTUBuyBtn;//添加到购物车
@property (weak, nonatomic) IBOutlet UIView *blackView;//下步视图
@property (weak, nonatomic) IBOutlet UIView *QXnaView;//导航栏属性
//徽章按钮属性
@property (weak, nonatomic) IBOutlet UIButton *huizhang;

@property(nonatomic,strong)UIView *maskView;//遮罩
@property(nonatomic,strong)AddToBuyView *buyView;//添加到购物车视图
@property(nonatomic,strong)UIImageView *imageView;
@property(nonatomic,strong)ShopModel *shopModel;
@property (weak, nonatomic) IBOutlet UIButton *favoriteView;//收藏按钮属性
@property (weak, nonatomic) IBOutlet UIImageView *backGroundVie;
@property (weak, nonatomic) IBOutlet UIButton *homeView;//首页属性
@property (weak, nonatomic) IBOutlet UIButton *refreshView;//刷新属性
@property (weak, nonatomic) IBOutlet UIButton *shareView;//分享属性

- (IBAction)butBtnClick;
- (IBAction)addToBuyBtnClick;
- (IBAction)gotoBtn;
- (IBAction)gotoKnowBtn;
//返回按钮
- (IBAction)returnClick;
//收藏按钮
- (IBAction)favoriteClick;
//更多点击事件
- (IBAction)moreClick;
//首页事件
- (IBAction)goHomeClick;
//刷新事件
- (IBAction)refreshClick;
//分享事件
- (IBAction)shareClick;

//隐藏或者显示导航栏
-(void)NaviewHiddenOrShow:(BOOL)hidden;
//模型
@property(nonatomic,strong)XQModel *model;
@end
